import store from '../store';
import { sessionStorage } from "mp-storage";
import Api from '../api';

// 全局挂载
export default (pub = {}) => {
    pub.$store = store;
    pub.$sessionStorage = sessionStorage;
    //api
    pub.$api = Api;
}